package com.teach.order.impl;

import com.teach.dto.OrderFoods;
import com.teach.order.dao.OrdersDao;
import com.teach.service.OrdersService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
 * 对外提供的服务
 * @Author: Hzz
 * @Date: Created in 23:20 2020/5/9
 */
@Service
public class ExternalOrderServiceImpl implements OrdersService {
    @Autowired
    private OrdersDao orderDao;
    @Override
    public List<OrderFoods> getOrderDetaiFoods(String associatorId) {
        System.out.println(associatorId);
        return orderDao.getDetaiFoods(associatorId);
    }
}
